package opera;

import book.BookList;

import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: DickYang
 * Date: 2023-05-28
 * Time: 10:41
 */
public class ShowOperation implements IOPeration {
    @Override
    public void work(BookList bookList) {

        for (int i = 0; i < bookList.getUserSize(); i++) {
            System.out.println(bookList.getBooks(i).toString());
        }
    }
}
